<?php use_helper('Form') ?>

<!-- Inicio caja -->
        <tr>
            <td valign="top"><table cellspacing="0" cellpadding="0" width="100%">
                <tbody>
                    <tr>
                        <td>
                            <table cellspacing="0" cellpadding="0" width="100%">
                                <tbody>
                                    <tr>
                                      <td width="1%" class="tdmenblock"><img alt="" class="tdmenblock" src="/proyecto_animedb/web/images/m_sx.gif"/> 
                                      </td>
                                      <td nowrap="nowrap" width="99%" valign="middle" style="background-image: url(/proyecto_animedb/web/images/m_sf.gif);" class="sottotitolo">AnimeSPS 
                                      </td>
                                      <td width="1%" class="tdmenblock"><img alt="" class="tdmenblock" src="/proyecto_animedb/web/images/m_dx.gif"/> 
                                      </td>
                                    </tr>
                                  </tbody>
                            </table>
                        </td>
                    </tr>
                <tr>
                    <td width="100%" class="tablemenu">
                        <table cellspacing="1" cellpadding="1" width="100%">
                            <tbody>
                                <tr>
                                    <td class="blocks">
                                        <div style="text-align: center;">
                                        	<div style="margin:5px;">
                                        		<?php if ($usuario == ''): ?>
                                					<label>Hola, invitado </label>
                                				    <?php echo form_tag('usuario/login', 'name=login id=login') ?>
                                				      <?php echo input_tag('usuario', 'Usuario', "onclick=javascript:SeleccionarTexto('usuario')") ?>
                                				      <?php echo input_password_tag('contrasena', '', "onclick=javascript:SeleccionarTexto('contrasena');") ?>
                                				      <?php echo submit_tag('Identificarse') ?>
                                		    		</form>
                                				<a href="<?php echo url_for('usuario/registro') ?>">Reg&iacute;strate</a>
                                				<?php else: ?>
                                					<label><strong><?php echo $usuario ?></strong></label>
                                					<br />
                                					<a href="<?php echo url_for('usuario/logout') ?>">Desconectase</a>
                                				<?php endif; ?>
                                			</div>
                                        </div>
                                        <table cellspacing="1" cellpadding="1" width="100%">
                                            <tbody>
                                                <tr>
                                                    <td width="100%" class="tdblock"><a href="<?php echo url_for('inicio/index'); ?>" class="uno"><strong><font color="#ff3300">Inicio</font></strong></a></td>
                                                </tr>
                                                <tr>
                                                    <td width="100%" class="tdblock"><a href="<?php echo url_for('usuario/mi_cuenta'); ?>" class="uno"><strong>Mi cuenta</strong></a></td>
                                                </tr>
                                                <tr>
                                                    <td width="100%" class="tdblock"><strong>B&uacute;squeda</strong></td>
                                                </tr>
                                                <tr>
                                                    <td width="100%" class="tdblock">&nbsp;&nbsp;&nbsp;<a href="<?php echo url_for('busqueda/busqueda_avanzada'); ?>" class="uno"><strong>Avanzada</strong></a></td>
                                                </tr>
                                                <tr>
                                                    <td width="100%" class="tdblock">&nbsp;&nbsp;&nbsp;<a href="<?php echo url_for('busqueda/busqueda_anime'); ?>" class="uno"><strong>Anime</strong></a></td>
                                                </tr>
                                                <tr>
                                                    <td width="100%" class="tdblock">&nbsp;&nbsp;&nbsp;<a href="<?php echo url_for('busqueda/mis_animes'); ?>" class="uno"><strong>Mis Animes</strong></a></td>
                                                </tr>
                                                <tr>
                                                    <td width="100%" class="tdblock">&nbsp;&nbsp;&nbsp;<a href="<?php echo url_for('peticiones/peticiones'); ?>" class="uno"><strong>Peticiones</strong></a></td>
                                                </tr>
                                            </tbody>
                                        </table>
                                    </td>
                                </tr>
                            </tbody>
                        </table>
                    </td>
                </tr>
                <tr>
                  <td>
                  	<table cellspacing="0" cellpadding="0" width="100%">
                    	<tbody>
                        	<tr>
                          		<td align="right" width="1%" valign="top" class="tdmenblock"><img alt="" class="tdmenblock" src="/proyecto_animedb/web/images/m_sx2.gif"/> </td>
                          		<td width="99%" style="background-image: url(/proyecto_animedb/web/images/m_sf2.gif);" class="tdmenblock"><img alt="" class="tdmenblock" src="/proyecto_animedb/web/images/m_sf2.gif"/> </td>
                          		<td width="1%" class="tdmenblock"><img alt="" class="tdmenblock" src="/proyecto_animedb/web/images/m_dx2.gif"/> </td>
                        	</tr>
                      	</tbody>
                    </table>
                 </td>
                </tr>
              </tbody>
            </table></td>
        </tr>
        <!-- Fin caja -->